package hezhiqin.com.autoconfigtation;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Map;

/**
 * @program: homeWork
 * @description:
 * @author: hezhiqin
 * @create: 2020-03-03 15:24
 */
@ConfigurationProperties(prefix = HelloProperties.HELLO_FORMAT)
public class HelloProperties {

    public static final String HELLO_FORMAT="com.hezhiqin.format";

    private Map<String,Object> info;

    public Map<String, Object> getInfo() {
        return info;
    }

    public void setInfo(Map<String, Object> info) {
        this.info = info;
    }
}
